package com.tongan.generate;

import lombok.Getter;
import lombok.Setter;

/**
 * Created by kenti on 14/05/2017.
 */
public enum TemplateEngineType {

    Tiny("tiny模版",CgformCodeGenerate.class),
    FreeMarker("freemarker模版",CgformCodeGenerate.class),
    ;

    TemplateEngineType(String displayName,Class<? extends ICallBack> generateClass) {
        this.displayName = displayName;
        this.generateClass=generateClass;
    }

    @Getter
    @Setter
    private Class<? extends ICallBack> generateClass;

    @Getter
    @Setter
    private String displayName;
}
